'use strict';

angular.module('myApp.version.interpolate-filter', [])

.filter('interpolate', ['version', function(version) {
  return function(text) {
     String(text).replace(/\%TXT\%/mg, version);
    return String(text).replace(/\%VERSION\%/mg, version);

  };
}]);
